package com.link.base.base.system.model;

import com.link.core.basic.model.BasicModel;

/**
 * 系统数据库表
 *
 * @author LiYang
 * @date 20190820
 */
public class ConfigDb extends BasicModel {

    /** 以下是数据库字段配置 */

    /**
     * ip
     */
    private String host;

    /**
     * 端口
     */
    private String port;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String pw;

    /**
     * 数据库名
     */
    private String dbName;

    /**
     * 数据库备注
     */
    private String dbComments;

    /** 以下是数据库表字段配置 */

    /**
     * 表名
     */
    private String tableName;

    /**
     * 表创建时间
     */
    private String createTime;

    /**
     * 表更新时间
     */
    private String updateTime;

    /**
     * 表备注
     */
    private String tableComment;

    /**
     * 表类型
     */
    private String tableType;

    /** 以下是数据库列字段配置 */

    /**
     * 列名
     */
    private String columnName;

    /**
     * 列类型
     */
    private String dataType;

    /**
     * 长度
     */
    private String characterMaxLength;

    /**
     * 列备注
     */
    private String columnComment;

    /**
     * 模糊查询条件
     */
    private String fuzzyCondition;

    /**
     * 是否为模糊查询
     */
    private boolean isLike;

    public String getFuzzyCondition() {
        return fuzzyCondition;
    }

    public void setFuzzyCondition(String fuzzyCondition) {
        this.fuzzyCondition = fuzzyCondition;
    }

    public boolean isLike() {
        return isLike;
    }

    public void setLike(boolean like) {
        isLike = like;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPw() {
        return pw;
    }

    public void setPw(String pw) {
        this.pw = pw;
    }

    public String getDbComments() {
        return dbComments;
    }

    public void setDbComments(String dbComments) {
        this.dbComments = dbComments;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getCharacterMaxLength() {
        return characterMaxLength;
    }

    public void setCharacterMaxLength(String characterMaxLength) {
        this.characterMaxLength = characterMaxLength;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getTableComment() {
        return tableComment;
    }

    public void setTableComment(String tableComment) {
        this.tableComment = tableComment;
    }

    public String getTableType() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType = tableType;
    }
}
